package com.lnking.lnkingplace.model.entity;

import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.lnking.starter.mybatis.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangqt
 * @since 2022-10-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="RecordTrain对象", description="")
public class RecordTrain extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String placeId;

    @ApiModelProperty(value = "培训人")
    private String teacher;

    @ApiModelProperty(value = "被培训人")
    private String trainee;

    @ApiModelProperty(value = "被培训人岗位")
    private String traineePost;

    @ApiModelProperty(value = "培训时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime trainTime;

    @ApiModelProperty(value = "培训内容")
    private String content;

    @ApiModelProperty(value = "考核结果")
    private String assess;

    @JsonIgnore
    private Boolean delFlag;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;


}
